package com.wanxi.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author yangjin
 * @date 2022年08月08日 19:46
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "标签",description = "产品标签实体，每一个产品最多贴三个标签")
public class LabelEntity implements Serializable {
    @ApiModelProperty(value = "标签id",example = "用于标识标签唯一的id")
    private Integer labelId;
    @ApiModelProperty(value = "标签类型",example = "0：公共标签 1：海鲜水产 2：肉类产品 3：蔬菜瓜果 4：冷饮冻食 ")
    private Integer labelType;
    @ApiModelProperty(value = "标签名字",example = "促销")
    private String labelName;
    @ApiModelProperty(value = "显示字样",example = "99大促销")
    private String words;
    @ApiModelProperty(value = "是否需要用户自定义",example = "0 是 1 否")
    private Integer defined;
}
